using System.Linq;
using System.Collections.Generic;

namespace MvcSoft1Demo.Repository
{
    public interface IRepository<T>
    {
        T GetById(int id);

        IQueryable<T> Table{get;}

        void Insert(T entity);
        void Update(T entity);
        void Delete(int id);
    }
}